package org.jeecg.modules.demo.ddyht.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.demo.ddyht.entity.DdygPici;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 批次信息
 * @Author: jeecg-boot
 * @Date:   2025-02-23
 * @Version: V1.0
 */
public interface IDdygPiciService extends IService<DdygPici> {

    List<DdygPici> getBycompany(String username);

    Result<String> add(List<DdygPici> ddygPici);

    List<DdygPici> getBycompanySale(String username, String number);

    List<DdygPici> getBycompanyStock(String username, String number);

    List<DdygPici> getByall(String companyId, String number, String model);

    List<DdygPici> getByalltwo(String companyId, String model, String orstate);

    List<DdygPici> getByallId(String username, String id);

    void deleteByall(String companyId, String id, String orstate);

    List<DdygPici> getByModel(String companyId, String model, String orstate);

    DdygPici getByModelId(String onlyid, String companyId, String model, String number);

    String setczrzid(String id);

    DdygPici getByOnlyId(String onlyid, String companyId);
}
